import request from '@/utils/request'

// 水功能区基本信息-历史变更记录查看
const functionAreaHistoryList = function (params = {}) {
  return request({
    url: `/zy-api/api/waterFunctionAreaHis/getWaterFunctionAreaHistoryList`,
    method: 'post',
    data: params,
  })
}

// 水功能区基本信息-历史变更记录查看
const functionAreaHistoryDetails = function (params = {}) {
  return request({
    url: `/zy-api/api/waterFunctionAreaHis/getWaterFunctionAreaHistoryId`,
    method: 'post',
    data: params,
  })
}

// 根据管理单位查询行政区划代码-修改时校验
const checkAdlCd = function (params = {}) {
  return request({
    url: `/zy-api/api/waterFunctionArea/getWaterFunctionAdlCd`,
    method: 'post',
    data: params,
  })
}

export{
  functionAreaHistoryList,
  functionAreaHistoryDetails,
  checkAdlCd
}